<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ include file="/common/taglibs.jsp" %>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>员工列表</title>
        <%@ include file="/common/common_style_script.jsp" %>
       <%@ include file="/common/tree_style_script.jsp" %>
        <link rel="stylesheet" type="text/css" href="<c:out value="${ctx}" />/style/employee.css"/>
        <script type="text/javascript">
            $(function(){
               $("#treeview").treeview("<c:url value="/ajax/employee/depttree.action"/>",{
						"target":"employeeTable"
                   });
            });

        </script>
    </head>
    <body>
        <%@ include file="/common/logo.jsp" %>
        <%@ include file="/common/top.jsp" %>
        <div id="content">
            <div id="func">
                <ul class="fv nlst">
                    <li><label for="employeeName">员工姓名</label></li>
                    <li><input id="employeeName" /></li>
                    <li><label for="employeeCode">员工号</label></li>
                    <li><input id="employeeCode" /></li>
                    <li><a href="#">查找用户</a></li>
                </ul>
            </div>
            <div id="deptTree">
                <div class="title_27">
                    部门
                </div>
                <ul id="treeview">
                </ul>
            </div>
            <div id="employeeList">
                <div class="title_27">
                    员工列表<a class="plr7" href="javascript:openDialog('<c:url value='/sys/employee/add.action'/>')">添加用户</a>
                </div>
                <iframe name="employeeTable" src="" frameborder="0" width="100%" height="100%">
                </iframe>
            </div>
        </div>
    </body>
</html>
